Pixeldev\SquareWooSync\Woo\SyncProduct A

Total Complexity 56
Dependencies 4
Dependents 1
Total lines 349
Lines of code 191
Logical lines of code 106
Comment lines 87
Methods 13
Properties 0

Methods 13

Method Rating Maintainability Complexity Lines of code
export_to_square()
A
47 11 33
update_square_product()
A
54 9 19
handle_ajax_export_to_square()
A
55 8 17
on_product_update()
S
58 5 15
handle_ajax_sync_to_square()
S
52 4 24
get_woo_product_data()
S
55 4 20
sync_meta_box_html()
S
57 4 16
is_sync_successful()
S
73 4 4
add_ajax_script()
S
60 2 12
init_woo_product()
S
63 2 10
__construct()
S
79 1 3
add_sync_meta_box()
S
66 1 10
format_variation_data()
S
67 1 8